package org.dromara.run.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.run.domain.Record;
import org.dromara.run.domain.Score;
import org.dromara.run.domain.vo.RecordVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.run.domain.vo.ScoreVo;

import java.util.List;

/**
 * 阳光跑跑步记录表Mapper接口
 *
 * @author chl
 * @date 2024-08-30
 */
public interface RecordMapper extends BaseMapperPlus<Record, RecordVo> {
    Page<RecordVo> selectRecordList(@Param("page") Page<Record> page, @Param(Constants.WRAPPER) Wrapper<Record> queryWrapper);
    List<RecordVo> selectRecordList(@Param(Constants.WRAPPER) Wrapper<Record> queryWrapper);
}
